import Vue from 'vue'
import App from './App.vue'
import router from "./routers/index";
import store from './store'
Vue.config.productionTip = false

import Notice from "./components/KNotice/Notice"
import create from "./utils/create"

Vue.prototype.$notice = function (opts){
  const notice = create(Notice, opts);
  notice.show();
}


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
